home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / image / aligner2.zip / ALIGNERX.INF < prev    next >
INI File  |  1997-01-05  |  6KB  |  161 lines

  1. ;----------------------------------------------------------------------------
  2. ;  Documented on MSDN CD in "INF Files" book in Win32 SDK: Setup API.
  3. ;----------------------------------------------------------------------------
  4.  
  5. [Version]
  6. ;Signature="$Windows 95$"
  7. ;----------------------------------------------------------------------------
  8. ;  Of course, the Win95 signature doesn't work, so we have to use Chicago.
  9. ;  Thanks, Microsoft!!
  10. ;----------------------------------------------------------------------------
  11. Signature="$Chicago$"
  12. Provider=Perpetual Motion Software
  13.  
  14. ;----------------------------------------------------------------------------
  15. ;  Sections used by setupx.dll (See 'Install' action for .inf files.)
  16. ;
  17. [DefaultInstall]
  18. CopyFiles = Files-Main, Files-Inf
  19. AddReg    = AddRegistry
  20.  
  21. [DefaultUninstall]
  22. DelFiles  = Files-Main, Files-Inf
  23. DelReg    = DeleteRegistry
  24. ;
  25. ;----------------------------------------------------------------------------
  26.  
  27. [Install]
  28. CopyFiles = Files-Main, Files-Inf
  29. AddReg    = AddRegistry
  30. ;UpdateINIs =
  31.  
  32. [Uninstall]
  33. DelFiles  = Files-Main, Files-Inf
  34. DelReg    = DeleteRegistry
  35.  
  36. ;----------------------------------------------------------------------------
  37. ;  Files to be (un)installed
  38. ;----------------------------------------------------------------------------
  39. ;  COPYFLG_WARN_IF_SKIP       0x00001
  40. ;  COPYFLG_NOSKIP             0x00002
  41. ;  COPYFLG_NOVERSIONCHECK     0x00004
  42. ;  COPYFLG_FORCE_FILE_IN_USE  0x00008
  43. ;  COPYFLG_NO_OVERWRITE       0x00010
  44. ;  COPYFLG_NO_VERSION_DIALOG  0x00020
  45. ;  COPYFLG_REPLACEONLY        0x00040
  46. ;  DELFLG_IN_USE              0x00001 (conflicts with warn-if-skip)
  47. ;  DELFLG_IN_USE1             0x10000 (no conflict)
  48. ;  Cannot use a string for the filenames.
  49. ;
  50. [Files-Main]
  51. alignerx.dll,,,0x10023  ; del-in-use | warn-if-skip | no-skip | no-version-dlg
  52.  
  53. [Files-Inf]
  54. alignerx.inf,,,0x10023  ; del-in-use | warn-if-skip | no-skip | no-version-dlg
  55. ;
  56. ;----------------------------------------------------------------------------
  57.  
  58. ;----------------------------------------------------------------------------
  59. ;  Where the files in the various file sections are located
  60. ;----------------------------------------------------------------------------
  61. ;  -1       dir from which the INF was installed
  62. ;  0xffff   dir from which the INF was installed
  63. ;  01       SourceDrive:\path
  64. ;  10       windows dir
  65. ;  11       system dir (95: %10%\system, NT: %10%\system32)
  66. ;  12       drivers dir (NT: %10%\system32\drivers)
  67. ;  17       INF dir
  68. ;  18       help dir
  69. ;  20       fonts dir
  70. ;  21       viewers dir
  71. ;  24       applications dir (seems to be "c:\")
  72. ;  25       shared dir
  73. ;  30       root dir of boot drive
  74. ;  50       %10%\system
  75. ;  51       spool dir
  76. ;  52       spool drivers dir
  77. ;  53       user profile dir
  78. ;  54       path to ntldr or OSLOADER.EXE
  79. ;
  80. [DestinationDirs]
  81. DefaultDestDir = 11, %PATH_APP%
  82. Files-Main     = 11, %PATH_APP%
  83. Files-Inf      = 17
  84.  
  85. [SourceDisksFiles]
  86. ;  Can use a string for the filenames.
  87. %THISAPP%   = 1
  88. %THISINF%   = 1
  89.  
  90. [SourceDisksNames]
  91. 1 = "AlignerX", "", 0
  92.  
  93. [AddRegistry]
  94. ;----------------------------------------------------------------------------
  95. ;  Register as OLE object
  96. ;----------------------------------------------------------------------------
  97. ;  HKCR\%DESCR%\
  98. ;     (Default) = %DESCR%
  99. ;     \CLSID\
  100. ;        (Default) = %CLSID%
  101. HKCR,%DESCR%,,,"%DESCR%"
  102. HKCR,%DESCR%\CLSID,,,"%CLSID%"
  103. ;
  104. ;  HKCR\CLSID\%CLSID%\
  105. ;     (Default) = %DESCR%
  106. ;     \InProcServer32\
  107. ;        (Default) = "path-to-DLL"
  108. ;        ThreadingModel = "Apartment"
  109. ;     \ProgID\
  110. ;        (Default) = %DESCR%
  111. HKCR,CLSID\%CLSID%,,,"%DESCR%"
  112. HKCR,CLSID\%CLSID%\InProcServer32,,,"%11%\%PATH_APP%\%THISAPP%"
  113. HKCR,CLSID\%CLSID%\InProcServer32,ThreadingModel,,"Apartment"
  114. HKCR,CLSID\%CLSID%\ProgID,,,"%DESCR%"
  115. ;----------------------------------------------------------------------------
  116.  
  117. ;----------------------------------------------------------------------------
  118. ;  Register as shell extension to Display Properties
  119. ;----------------------------------------------------------------------------
  120. ;  HKLM\%CONTROLSFOLDER%\%PROPSHEETHANDLERS%\%PROPSHEETKEY%\
  121. ;     (Default) = %CLSID%
  122. HKLM,%CONTROLSFOLDER% %PROPSHEETHANDLERS% %PROPSHEETKEY%,,,%CLSID%
  123. ;----------------------------------------------------------------------------
  124.  
  125. ;----------------------------------------------------------------------------
  126. ;  Register Uninstall procedure
  127. ;----------------------------------------------------------------------------
  128. ;  HKLM\%UNINSTALL%\%UNINSTALL_KEY%\
  129. ;     DisplayName = %UNINSTALL_DESCR%
  130. ;     UninstallString = "..."
  131. HKLM,%UNINSTALL% %UNINSTALL_KEY%,DisplayName,,%UNINSTALL_DESCR%
  132. HKLM,%UNINSTALL% %UNINSTALL_KEY%,UninstallString,,"rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\%THISINF%"
  133. ;----------------------------------------------------------------------------
  134.  
  135. [DeleteRegistry]
  136. HKCR,%DESCR%
  137. HKCR,CLSID\%CLSID%
  138.  
  139. HKLM,%CONTROLSFOLDER% %PROPSHEETHANDLERS% %PROPSHEETKEY%
  140.  
  141. HKLM,%UNINSTALL% %UNINSTALL_KEY%
  142.  
  143. ;----------------------------------------------------------------------------
  144. [Strings]
  145. THISAPP  = "alignerx.dll"                             ; dll being installed
  146. THISINF  = "alignerx.inf"                             ; inf being installed
  147. PATH_APP = "ShellExt"                                 ; dir PowerToys uses
  148. CLSID    = "{DF98DE83-3ADF-11D0-8955-444553540000}"   ; GUID
  149. DESCR    = "Aligner Display Property Sheet"           ; extension description
  150. UNINSTALL_KEY   = "AlignerX"
  151. UNINSTALL_DESCR = "Aligner Display Extension (Remove Only)"
  152.  
  153. ;  regstr.h: REGSTR_PATH_CONTROLSFOLDER
  154. CONTROLSFOLDER = "Software\Microsoft\Windows\CurrentVersion\Controls Folder\"
  155. PROPSHEETHANDLERS = "Display\shellex\PropertySheetHandlers\"
  156. PROPSHEETKEY = "PMS Aligner Page"
  157.  
  158. ;  regstr.h: REGSTR_PATH_UNINSTALL
  159. UNINSTALL = "Software\Microsoft\Windows\CurrentVersion\Uninstall\"
  160.  
  161.